typedef HRESULT (WINAPI *TD3DXCreateEffectCompiler)(
  _In_   LPCSTR pSrcData,
  _In_   UINT SrcDataLen,
  _In_   const D3DXMACRO *pDefines,
  _In_   LPD3DXINCLUDE pInclude,
  _In_   DWORD Flags,
  _Out_  LPD3DXEFFECTCOMPILER *ppEffectCompiler,
  _Out_  LPD3DXBUFFER *ppParseErrors
);

TD3DXCreateEffectCompiler OldD3DXCreateEffectCompiler;

DllExport HRESULT cc D3DXCreateEffectCompiler(
  _In_   LPCSTR pSrcData,
  _In_   UINT SrcDataLen,
  _In_   const D3DXMACRO *pDefines,
  _In_   LPD3DXINCLUDE pInclude,
  _In_   DWORD Flags,
  _Out_  LPD3DXEFFECTCOMPILER *ppEffectCompiler,
  _Out_  LPD3DXBUFFER *ppParseErrors
)
{
	return OldD3DXCreateEffectCompiler (pSrcData, SrcDataLen, pDefines, pInclude,Flags,ppEffectCompiler,ppParseErrors);
}
